import java.util.LinkedList;

public class BlastResult {
	private String OTU = null;
	private LinkedList<String> acceptedHits = new LinkedList<String>();
	private String LCA = null;
	private boolean chimera = false;
	
	public BlastResult(String OTU) {
		this.OTU = OTU;
	}
	
	public void addNewHit(String id) {
		acceptedHits.add(id);
	}
	
	public void setLCA(String LCA) {
		this.LCA = LCA;
	}
	
	public void possibleChimera() {
		chimera = true;
	}
	
	public boolean isChimera() {
		return chimera;
	}
	
	public String getOTU() {
		return OTU;
	}
	
	public int getNumberOfHits() {
		return acceptedHits.size();
	}
	
	public LinkedList<String> getHits() {
		return acceptedHits;
	}
	
	public String getLCA() {
		return LCA;
	}
}
